package com.xzq.erp.domain.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "商品分页请求参数")
@Accessors(chain = true)
public class ProductPageQuery extends BasePageQuery {

    @Schema(description = "商品名称", example = "小米14")
    private String name;

    @Schema(description = "分类ID", example = "1")
    private Integer categoryId;

    @Schema(description = "品牌ID", example = "1")
    private Integer brandId;

    @Schema(description = "供应商ID", example = "1")
    private Integer supplierId;

    @Schema(description = "是否上架", example = "true")
    private Integer status;

}


